package com.dp.searchbuilder.dao;

import java.util.List;

import com.dp.searchbuilder.bean.BuildEvent;

public interface BuilderDao {
	
	public BuildEvent getSingleEvent(long id);
	
	public List<BuildEvent> getAllEvent();
	
	public List<BuildEvent> getCertainStatusEvent(String eventStatus);
	
	public List<BuildEvent> getCertainEvent(String gitServer, String branchName);
	
	public int insertBuildEvent(BuildEvent buildEvent);
	
	public void updateEvent(int id,String buildStatus);

}
